﻿using System;
using System.Drawing;

namespace WordCloudGenerator.Geometry
{
    public interface IGraphicEngine : IDisposable
    {
        SizeF Measure(string text, int weight);
        void Draw(LayoutItem layoutItem, bool randomizeColors = false, int colorSensitivity = 0, int fontSizeSensitivity = 0);
        void DrawEmphasized(LayoutItem layoutItem, bool randomizeColors = false, int colorSensitivity = 0, int fontSizeSensitivity = 0);
    }
}
